package com.ynny.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

//调用的服务名称
@FeignClient(name="Service-provider-LJY")
public interface consumerService {

    @GetMapping("/provider/hello")
    String hello(@RequestParam(value = "userName",required = false)String userName);
}
